SlashCmdList["DynOrbsSlashCOMMAND"] = function(msg)
local D = "|cFF00EE00DynOrbs|r"
local Ah = ": Additional art disabled."
local As = ": Additional art enabled."
local Bh = ": Main bar texture disabled."
local Bs = ": Main bar texture enabled."
	if not msg or msg == "" or msg == "help" then
		DEFAULT_CHAT_FRAME:AddMessage("|cFF00EE00Diablo 3 dynamic Orbs 1.2|r")
		DEFAULT_CHAT_FRAME:AddMessage(D..": slash command [argument] -description")
		DEFAULT_CHAT_FRAME:AddMessage(D..": art [hide/show/toggle]  -Toggles the Tyrael and demon textures.")
        DEFAULT_CHAT_FRAME:AddMessage(D..": bar [hide/show/toggle]  -Toggles the main bar texture.")
    elseif msg == "art hide" then
        Diablo3dynOrbs.art = 0
        DEFAULT_CHAT_FRAME:AddMessage(D..Ah)
        D3DemonFrame:Hide()
        D3AngelFrame:Hide()
    elseif msg == "art show" then
        Diablo3dynOrbs.art = 1
        DEFAULT_CHAT_FRAME:AddMessage(D..As)
		D3DemonFrame:Show()
		D3AngelFrame:Show()
	elseif msg == "art toggle" or msg == "art" then
		if Diablo3dynOrbs.art == 1 then
			Diablo3dynOrbs.art = 0
			DEFAULT_CHAT_FRAME:AddMessage(D..Ah)
			D3DemonFrame:Hide()
			D3AngelFrame:Hide()
		else
			Diablo3dynOrbs.art = 1
			DEFAULT_CHAT_FRAME:AddMessage(D..As)
			D3DemonFrame:Show()
			D3AngelFrame:Show()
		end
	elseif msg == "bar hide" then
        Diablo3dynOrbs.bar = 0
        DEFAULT_CHAT_FRAME:AddMessage(D..Bh)
        D3BarFrame:Hide()
    elseif msg == "bar show" then
        Diablo3dynOrbs.bar = 1
        DEFAULT_CHAT_FRAME:AddMessage(D..Bs)
        D3BarFrame:Show()
    elseif msg == "bar toggle" or msg == "bar" then   
        if Diablo3dynOrbs.bar == 1 then
			Diablo3dynOrbs.bar = 0
			DEFAULT_CHAT_FRAME:AddMessage(D..Bh)
			D3BarFrame:Hide()
		else
			Diablo3dynOrbs.bar = 1
			DEFAULT_CHAT_FRAME:AddMessage(D..Bs)
			D3BarFrame:Show()
		end
    else
		DEFAULT_CHAT_FRAME:AddMessage(D..": Not a valid argument.")
	end
end
SLASH_DynOrbsSlashCOMMAND1 = "/dynorbs"